export const reg_email = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/
export const reg_password = /^(\w){6,20}$/


// 密码验证
export function validate_email(value){
    return reg_email.test(value)
}


// 验证邮箱
export function validate_password(value){
    return reg_password.test(value)
}

